<?php if (!defined('THINK_PATH')) exit();?><div class="paixu" style="width:1200px">
    <h4 class="clearfix">
        <em class="paixu-text">拍单编号</em>
        <em class="paixu-text1">车辆信息</em>
        <em>级别</em>
        <em>保留价</em>
        <em>过户费</em>
        <em>交易佣金</em>
        <em style="width:150px">开拍时间</em>
        <em>起拍价</em>
        <em>时长</em>
        <em>优先级</em>
        <em>操作</em>
    </h4>
    <ul>
        <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?><li class="clearfix" id="<?php echo ($list["order_id"]); ?>" is_timing_order="<?php echo ($list["is_timing_order"]); ?>">
                <em class="paixu-text"><?php echo ($list["order_no"]); ?></em>
                <em class="paixu-text1"  style="text-overflow:ellipsis;white-space:nowrap;overflow:hidden;"><?php echo ($list["model"]); ?></em>
                <em><?php echo ($list["composite_state"]); echo ($list["accident_level"]); ?></em>
                <em><?php echo ($list["reserve_price"]); ?></em>
                <em><?php echo ($list["transfer_fee"]); ?></em>
                <em><?php echo ($list["commision"]); ?></em>
                <em style="width:150px"><?php echo ($list["bidding_start_time"]); ?></em>
                <em><?php echo ($list["bid_start_price"]); ?></em>
                <em><?php echo ($list["est_elapsed_time"]); ?></em>
                <em><?php if($list[is_timing_order] == 0): ?><a class="number"><?php echo ($list["rank"]); ?></a><?php else: ?>0<?php endif; ?></em>
                <em data-id="2">
                    <?php if(strtotime($list[starttime]) > time()): if($list[is_timing_order]): ?><a class="move" href="javascript:edit_order('<?php echo ($list["order_id"]); ?>','<?php echo ($list["bidding_start_time"]); ?>');">编辑</a>
                        <?php else: ?>
                            <a class="move" onclick="get_rank_up(<?php echo ($list["order_id"]); ?>)">上移</a>
                            <a class="down" onclick="get_rank_down(<?php echo ($list["order_id"]); ?>)">下移</a><?php endif; endif; ?>
                </em>
            </li><?php endforeach; endif; else: echo "" ;endif; ?>
    </ul>
</div>
<div class="pageFaye"><div class="pager"><?php echo ($page); ?></div><div class="clear"></div></div>
<script>
function edit_order(order_id,bidding_start_time){
        $('.tanShang2').fadeIn();
        $('.yunBei').fadeIn();
        $("input[name=order_id]").val(order_id);
        $("input[name=bidding_start_time]").val(bidding_start_time);
}
</script>